home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
MRAC
/
Positions
/
p-remove
next >
Wrap
Text File
|
1998-08-11
|
320b
|
15 lines
p-remove position sequence
0-based
This function is designed to remove items occupying a specific position in a sequence.
(p-remove 7 (g-integer 0 11))
=> (0 1 2 3 4 5 6 8 9 10 11)
(p-remove '(4 6 8) (g-integer 0 11))
=> (0 1 2 3 5 7 9 10 11)
(p-remove '(4 6 8) '(a b c d e f g h i j k l))
=> (a b c d f h j k l)